package com.bbzn.device.client.service.impl;

import com.bbzn.device.client.dao.app.AppVersionMapper;
import com.bbzn.device.client.dataobject.AppVersion;
import com.bbzn.device.client.service.AppVersionService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * @Author wulongbo
 * @Date 2021/5/10 8:51
 * @Version 1.0
 */
@Service
public class AppVersionServiceImpl implements AppVersionService {

    @Resource
    private AppVersionMapper appVersionMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return appVersionMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AppVersion record) {
        return appVersionMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(AppVersion record) {
        return appVersionMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(AppVersion record) {
        return appVersionMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(AppVersion record) {
        return appVersionMapper.insertSelective(record);
    }

    @Override
    public AppVersion selectByPrimaryKey(Integer id) {
        return appVersionMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AppVersion record) {
        return appVersionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AppVersion record) {
        return appVersionMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<AppVersion> list) {
        return appVersionMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<AppVersion> list) {
        return appVersionMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<AppVersion> list) {
        return appVersionMapper.batchInsert(list);
    }

    @Override
    public List<AppVersion> selectSelective(AppVersion record) throws Exception {
        return appVersionMapper.selectSelective(record);
    }

}

